﻿using SPW.Infrastructure.Interfaces;
using System.Windows.Controls;

namespace SPW.MainViewer.Views
{
    /// <summary>
    /// Interaction logic for EarthViewer
    /// </summary>
    public partial class EarthViewer : UserControl, IMasterView
    {
        private AxTerraExplorerX.AxTE3DWindow axTE3DWindow;

        public EarthViewer()
        {
            InitializeComponent();
            InitSkylineViewer();
        }

        private void InitSkylineViewer()
        {
            axTE3DWindow = new AxTerraExplorerX.AxTE3DWindow();
            OCXControl.Child = axTE3DWindow;
        }
    }
}
